import {Option} from "@/types/public";
import {Action} from "@/types/utils";

export interface ChooseDateProps {
    options: Option[];
    onChange: (option?: Option, index?: number) => void;
}

export interface ChooseDatePopupProps {
    dispatch: (action: Action) => void;
    isVisible: boolean;
    onChange: ChooseDateProps["onChange"]
}